BEGIN{
   printf "%-10s%-10s%-10s%-10s%-10s%-10s\n","Name","chiness","Englisth","Math", "Physical", "Average"
}

{
   Total=$2+$3+$4+$5
   avg=Total/4
   if (avg>90)
   {
      printf "%-10s%-10d%-10d%-10d%-10d%-0.2s\n", $1,$2,$3,$4,$5,avg
      score_chinese+=$2
      score_englisht+=$3
      score_math+=$4
      score_physical+=$5
   }

}

END {
   printf "%-10s%-10d%-10d%-10d%-10d%\n","", score_chinese,score_englisht,score_math,score_physical
}